package com.wp.aop01.service.controller;

import org.springframework.web.bind.annotation.*;

/**
 * @author: WangPeng
 * @createTime: 2022/11/12 14:03
 * @description:
 * @version: v1.0
 */
@RestController
@RequestMapping("/AOP")
public class HahaController {

    @GetMapping("/getTest")
    public String getTest() {
        System.out.println("====getTest====");
        return "getTest";
    }

    @RequestMapping("/postTest")
    public String getPost(){
        System.out.println("===getPost===");
        return "getPost";
    }
}
